//
//  GProgressIndicatorCell.h
//  Genesis
//
//  Created by Kristoffer Andersen on 14/03/09.
//  Copyright 2009 Kristoffer Andersen. All rights reserved.
//
//  This file is part of Genesis.
//  
//  Genesis is free software: you can redistribute it and/or modify
//  it under the terms of the GNU General Public License as published by
//  the Free Software Foundation, either version 3 of the License, or
//  (at your option) any later version.
//  
//  Genesis is distributed in the hope that it will be useful,
//  but WITHOUT ANY WARRANTY; without even the implied warranty of
//  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
//  GNU General Public License for more details.
//  
//  You should have received a copy of the GNU General Public License
//  along with Genesis.  If not, see <http://www.gnu.org/licenses/>.

#import <Cocoa/Cocoa.h>


@interface GProgressIndicatorCell : NSTextFieldCell {
	NSProgressIndicator *progressIndicator;
	NSProgressIndicator *stdProgress;
	NSMutableArray *connectionsProgressIndicators;
	NSImageView *greenView;
	NSImageView *redView;
	char status; //0 is nothing, 1 is progress, 2 is green & 3 is red!
}

-(void)setProgressAtIndex:(int)index;
-(NSProgressIndicator *)addIndicator;
-(NSProgressIndicator *)indicatorAtIndex:(int)index;
-(NSImageView *)isConnected;
-(NSImageView *)isInterrupted;

@end
